{% extends "base.html" %}
{# Copyright The IETF Trust 2015, All Rights Reserved #}
{% load origin %}
{% block title %}Signed out{% endblock %}
{% block content %}
    {% origin %}
    <h1>You have been signed out</h1>
    <a class="btn btn-primary my-3" href="{% url 'ietf.ietfauth.views.login' %}" rel="nofollow">Sign in</a>
{% endblock %}
{% block js %}
    {% if request.META.HTTP_REFERER %}
        <script>
            $(document).ready( function() {
                $("#login-back a").text('You will be returned to the previous page in 5 seconds');
                setTimeout(function() {
                    window.location.replace("{{request.META.HTTP_REFERER}}") ;
                }, 5000);
            });
        </script>
    {% endif %}
{% endblock %}